package com.simple.datax.bo;

import java.util.List;

import com.simple.datax.vo.DataxFlowActivityTemplateVO;
import com.simple.datax.vo.DataxFlowActorsTemplateVO;
import com.simple.datax.vo.DataxFlowTemplateVO;
import com.simple.util.exception.SimpleApplicationException;
import com.simple.util.object.PageInfoBean;

public interface IDataxFlowTemplateBO {
	DataxFlowTemplateVO findById(final String id);
    
	String generateId();
	
	List<DataxFlowTemplateVO> findAll();
	
	public List<DataxFlowTemplateVO> findListByPage(String templateName,
			String templateId, String businessType, String creatTimeStart,
			String creatTimeEnd, String creater,String status, PageInfoBean pageInfoBean);
	
	void add(DataxFlowTemplateVO dataxFlowVO);
		
	void submit(String isEdit,DataxFlowTemplateVO dataxFlowTemplateVO, List<DataxFlowActivityTemplateVO> dataxFlowActivityTemplateVOList, 
			List<DataxFlowActorsTemplateVO> dataxFlowActorsTemplateVOList) throws SimpleApplicationException;
	
	void del(String id);
	
	List<DataxFlowTemplateVO> findAllActive();

}
